@extends('layouts.admin')
@section('title', $title)
@push('morecss')
@endpush

@push('morescript')
    <script>
        function goUrl(url) {
            window.location.href = url;
        }
    </script>
@endpush
@section('content')
    <div class="wrapper wrapper-content" style="min-height: 800px;">
        <div class="row">
            <div class="col-lg-6 col-lg-offset-3 warning">
                <div class="widget-head-color-box {{$bgClass}} p-xxs text-center">
                    <div class="m-b-none">
                        <h4 class="font-bold no-margins">
                            {{$title}}
                        </h4>
                    </div>
                </div>
                <div class="widget-text-box">
                    <h1 class="media-heading text-center">{{ $message }}</h1>
                    <div class="text-center">
                        @if($url == 'goback')

                        @else
                            <br><a href="{{ $url }}">如果您的浏览器没有自动跳转，请点击这里</a>
                        @endif
                        @if($url && $jumpTime)
                            <script language="javascript">setTimeout("goUrl('{{ $url}}')",{{ $jumpTime }});</script>
                        @endif
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection